<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

<ui:define name="body">

    <rich:panel>
        <f:facet name="header">Travel Details</f:facet>


        <s:decorate id="name" template="layout/display.xhtml">
            <ui:define name="label">Name</ui:define>
            <h:outputText value="#{travelHome.instance.name}"/>
        </s:decorate>

        <s:decorate id="fromLat" template="layout/display.xhtml">
            <ui:define name="label">From lat</ui:define>
            <h:outputText value="#{travelHome.instance.fromLat}"/>
        </s:decorate>

        <s:decorate id="fromLon" template="layout/display.xhtml">
            <ui:define name="label">From lon</ui:define>
            <h:outputText value="#{travelHome.instance.fromLon}"/>
        </s:decorate>

        <s:decorate id="toLat" template="layout/display.xhtml">
            <ui:define name="label">To lat</ui:define>
            <h:outputText value="#{travelHome.instance.toLat}"/>
        </s:decorate>

        <s:decorate id="toLon" template="layout/display.xhtml">
            <ui:define name="label">To lon</ui:define>
            <h:outputText value="#{travelHome.instance.toLon}"/>
        </s:decorate>

        <s:decorate id="distance" template="layout/display.xhtml">
            <ui:define name="label">Distance</ui:define>
            <h:outputText value="#{travelHome.instance.distance}"/>
        </s:decorate>

        <s:decorate id="travelState" template="layout/display.xhtml">
            <ui:define name="label">Travel state</ui:define>
            <h:outputText value="#{travelHome.instance.travelState}"/>
        </s:decorate>

        <s:decorate id="calculatedRate" template="layout/display.xhtml">
            <ui:define name="label">Calculated rate</ui:define>
            <h:outputText value="#{travelHome.instance.calculatedRate}"/>
        </s:decorate>

        <s:decorate id="createDate" template="layout/display.xhtml">
            <ui:define name="label">Create date</ui:define>
            <h:outputText value="#{travelHome.instance.createDate}">
                <s:convertDateTime type="both" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="modifyDate" template="layout/display.xhtml">
            <ui:define name="label">Modify date</ui:define>
            <h:outputText value="#{travelHome.instance.modifyDate}">
                <s:convertDateTime type="both" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="deleteDate" template="layout/display.xhtml">
            <ui:define name="label">Delete date</ui:define>
            <h:outputText value="#{travelHome.instance.deleteDate}">
                <s:convertDateTime type="both" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="cronExpression" template="layout/display.xhtml">
            <ui:define name="label">Cron expression</ui:define>
            <h:outputText value="#{travelHome.instance.cronExpression}"/>
        </s:decorate>

        <s:decorate id="monday" template="layout/display.xhtml">
            <ui:define name="label">Monday</ui:define>
            <h:outputText value="#{travelHome.instance.monday}"/>
        </s:decorate>

        <s:decorate id="tuesday" template="layout/display.xhtml">
            <ui:define name="label">Tuesday</ui:define>
            <h:outputText value="#{travelHome.instance.tuesday}"/>
        </s:decorate>

        <s:decorate id="wednesday" template="layout/display.xhtml">
            <ui:define name="label">Wednesday</ui:define>
            <h:outputText value="#{travelHome.instance.wednesday}"/>
        </s:decorate>

        <s:decorate id="thursday" template="layout/display.xhtml">
            <ui:define name="label">Thursday</ui:define>
            <h:outputText value="#{travelHome.instance.thursday}"/>
        </s:decorate>

        <s:decorate id="friday" template="layout/display.xhtml">
            <ui:define name="label">Friday</ui:define>
            <h:outputText value="#{travelHome.instance.friday}"/>
        </s:decorate>

        <s:decorate id="saturday" template="layout/display.xhtml">
            <ui:define name="label">Saturday</ui:define>
            <h:outputText value="#{travelHome.instance.saturday}"/>
        </s:decorate>

        <s:decorate id="sunday" template="layout/display.xhtml">
            <ui:define name="label">Sunday</ui:define>
            <h:outputText value="#{travelHome.instance.sunday}"/>
        </s:decorate>

        <s:decorate id="beginDate" template="layout/display.xhtml">
            <ui:define name="label">Begin date</ui:define>
            <h:outputText value="#{travelHome.instance.beginDate}">
                <s:convertDateTime type="both" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="endDate" template="layout/display.xhtml">
            <ui:define name="label">End date</ui:define>
            <h:outputText value="#{travelHome.instance.endDate}">
                <s:convertDateTime type="both" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="singleDay" template="layout/display.xhtml">
            <ui:define name="label">Single day</ui:define>
            <h:outputText value="#{travelHome.instance.singleDay}"/>
        </s:decorate>

        <div style="clear:both"/>

    </rich:panel>

    <div class="actionButtons">

        <s:button view="/TravelEdit.xhtml"
                    id="edit"
                 value="Edit"/>

        <s:button view="/#{empty travelFrom ? 'TravelList' : travelFrom}.xhtml"
                    id="done"
                 value="Done"/>

    </div>

    <rich:tabPanel switchType="ajax">

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>City by to city</h:panelGroup>
        </f:facet>
    <div class="association" id="cityByToCityParent">

        <h:outputText value="There is no cityByToCity associated with this travel."
                   rendered="#{travelHome.instance.cityByToCity == null}"/>

        <rich:dataTable var="_city"
                   value="#{travelHome.instance.cityByToCity}"
                rendered="#{travelHome.instance.cityByToCity != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="cityByToCityTable">
            <h:column>
                <f:facet name="header">Id city</f:facet>
                <h:outputText value="#{_city.idCity}"/>
            </h:column>
            <h:column>
                <f:facet name="header">State id state</f:facet>
                <h:outputText value="#{_city.state.idState}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_city.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Lat</f:facet>
                <h:outputText value="#{_city.lat}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Lon</f:facet>
                <h:outputText value="#{_city.lon}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewcity"
                     value="View"
                      view="/City.xhtml">
                    <f:param name="cityIdCity"
                           value="#{_city.idCity}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>State by from state</h:panelGroup>
        </f:facet>
    <div class="association" id="stateByFromStateParent">

        <h:outputText value="There is no stateByFromState associated with this travel."
                   rendered="#{travelHome.instance.stateByFromState == null}"/>

        <rich:dataTable var="_state"
                   value="#{travelHome.instance.stateByFromState}"
                rendered="#{travelHome.instance.stateByFromState != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="stateByFromStateTable">
            <h:column>
                <f:facet name="header">Id state</f:facet>
                <h:outputText value="#{_state.idState}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Country id country</f:facet>
                <h:outputText value="#{_state.country.idCountry}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_state.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Code</f:facet>
                <h:outputText value="#{_state.code}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewstate"
                     value="View"
                      view="/State.xhtml">
                    <f:param name="stateIdState"
                           value="#{_state.idState}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Country by from country</h:panelGroup>
        </f:facet>
    <div class="association" id="countryByFromCountryParent">

        <h:outputText value="There is no countryByFromCountry associated with this travel."
                   rendered="#{travelHome.instance.countryByFromCountry == null}"/>

        <rich:dataTable var="_country"
                   value="#{travelHome.instance.countryByFromCountry}"
                rendered="#{travelHome.instance.countryByFromCountry != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="countryByFromCountryTable">
            <h:column>
                <f:facet name="header">Id country</f:facet>
                <h:outputText value="#{_country.idCountry}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_country.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Code</f:facet>
                <h:outputText value="#{_country.code}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewcountry"
                     value="View"
                      view="/Country.xhtml">
                    <f:param name="countryIdCountry"
                           value="#{_country.idCountry}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>User</h:panelGroup>
        </f:facet>
    <div class="association" id="userParent">

        <h:outputText value="There is no user associated with this travel."
                   rendered="#{travelHome.instance.user == null}"/>

        <rich:dataTable var="_user"
                   value="#{travelHome.instance.user}"
                rendered="#{travelHome.instance.user != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="userTable">
            <h:column>
                <f:facet name="header">Id user</f:facet>
                <h:outputText value="#{_user.idUser}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Login</f:facet>
                <h:outputText value="#{_user.login}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Password</f:facet>
                <h:outputText value="#{_user.password}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_user.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Surname</f:facet>
                <h:outputText value="#{_user.surname}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Birth date</f:facet>
                <h:outputText value="#{_user.birthDate}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Create date</f:facet>
                <h:outputText value="#{_user.createDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Modify date</f:facet>
                <h:outputText value="#{_user.modifyDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Delete date</f:facet>
                <h:outputText value="#{_user.deleteDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Type</f:facet>
                <h:outputText value="#{_user.type}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Calculated rate</f:facet>
                <h:outputText value="#{_user.calculatedRate}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Enabled</f:facet>
                <h:outputText value="#{_user.enabled}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewuser"
                     value="View"
                      view="/User.xhtml">
                    <f:param name="userIdUser"
                           value="#{_user.idUser}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>State by to state</h:panelGroup>
        </f:facet>
    <div class="association" id="stateByToStateParent">

        <h:outputText value="There is no stateByToState associated with this travel."
                   rendered="#{travelHome.instance.stateByToState == null}"/>

        <rich:dataTable var="_state"
                   value="#{travelHome.instance.stateByToState}"
                rendered="#{travelHome.instance.stateByToState != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="stateByToStateTable">
            <h:column>
                <f:facet name="header">Id state</f:facet>
                <h:outputText value="#{_state.idState}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Country id country</f:facet>
                <h:outputText value="#{_state.country.idCountry}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_state.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Code</f:facet>
                <h:outputText value="#{_state.code}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewstate"
                     value="View"
                      view="/State.xhtml">
                    <f:param name="stateIdState"
                           value="#{_state.idState}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>City by from city</h:panelGroup>
        </f:facet>
    <div class="association" id="cityByFromCityParent">

        <h:outputText value="There is no cityByFromCity associated with this travel."
                   rendered="#{travelHome.instance.cityByFromCity == null}"/>

        <rich:dataTable var="_city"
                   value="#{travelHome.instance.cityByFromCity}"
                rendered="#{travelHome.instance.cityByFromCity != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="cityByFromCityTable">
            <h:column>
                <f:facet name="header">Id city</f:facet>
                <h:outputText value="#{_city.idCity}"/>
            </h:column>
            <h:column>
                <f:facet name="header">State id state</f:facet>
                <h:outputText value="#{_city.state.idState}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_city.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Lat</f:facet>
                <h:outputText value="#{_city.lat}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Lon</f:facet>
                <h:outputText value="#{_city.lon}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewcity"
                     value="View"
                      view="/City.xhtml">
                    <f:param name="cityIdCity"
                           value="#{_city.idCity}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Country by to country</h:panelGroup>
        </f:facet>
    <div class="association" id="countryByToCountryParent">

        <h:outputText value="There is no countryByToCountry associated with this travel."
                   rendered="#{travelHome.instance.countryByToCountry == null}"/>

        <rich:dataTable var="_country"
                   value="#{travelHome.instance.countryByToCountry}"
                rendered="#{travelHome.instance.countryByToCountry != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="countryByToCountryTable">
            <h:column>
                <f:facet name="header">Id country</f:facet>
                <h:outputText value="#{_country.idCountry}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Name</f:facet>
                <h:outputText value="#{_country.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Code</f:facet>
                <h:outputText value="#{_country.code}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewcountry"
                     value="View"
                      view="/Country.xhtml">
                    <f:param name="countryIdCountry"
                           value="#{_country.idCountry}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/onetomany.gif" style="vertical-align: middle; padding-right: 4px;"/>Seats</h:panelGroup>
        </f:facet>
    <h:form styleClass="association" id="seatsChildren">

        <h:outputText value="There are no seats associated with this travel."
                   rendered="#{empty travelHome.seats}"/>

        <rich:dataTable value="#{travelHome.seats}"
                       var="_seat"
                  rendered="#{not empty travelHome.seats}"
                rowClasses="rvgRowOne,rvgRowTwo"
                        id="seatsTable">
            <rich:column sortBy="#{_seat.idSeat}">
                <f:facet name="header">Id seat</f:facet>
                <h:outputText value="#{_seat.idSeat}"/>
            </rich:column>
            <rich:column sortBy="#{_seat.seatNumber}">
                <f:facet name="header">Seat number</f:facet>
                <h:outputText value="#{_seat.seatNumber}"/>
            </rich:column>
            <rich:column sortBy="#{_seat.state}">
                <f:facet name="header">State</f:facet>
                <h:outputText value="#{_seat.state}"/>
            </rich:column>
            <h:column>
                <f:facet name="header">Action</f:facet>
                <s:link id="selectseat"
                     value="Select"
                      view="/Seat.xhtml">
                    <f:param name="seatIdSeat"
                            value="#{_seat.idSeat}"/>
                    <f:param name="seatFrom" value="Travel"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </h:form>

    <div class="actionButtons">
        <s:button
               value="Add seat"
                view="/SeatEdit.xhtml">
            <f:param name="travelIdTravel"
                    value="#{travelHome.instance.idTravel}"/>
            <f:param name="seatFrom" value="Travel"/>
        </s:button>
    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/onetomany.gif" style="vertical-align: middle; padding-right: 4px;"/>Matchs</h:panelGroup>
        </f:facet>
    <h:form styleClass="association" id="matchsChildren">

        <h:outputText value="There are no matchs associated with this travel."
                   rendered="#{empty travelHome.matchs}"/>

        <rich:dataTable value="#{travelHome.matchs}"
                       var="_match"
                  rendered="#{not empty travelHome.matchs}"
                rowClasses="rvgRowOne,rvgRowTwo"
                        id="matchsTable">
            <rich:column sortBy="#{_match.idMatch}">
                <f:facet name="header">Id match</f:facet>
                <h:outputText value="#{_match.idMatch}"/>
            </rich:column>
            <rich:column sortBy="#{_match.createDate}">
                <f:facet name="header">Create date</f:facet>
                <h:outputText value="#{_match.createDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_match.seenDate}">
                <f:facet name="header">Seen date</f:facet>
                <h:outputText value="#{_match.seenDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_match.rejectDate}">
                <f:facet name="header">Reject date</f:facet>
                <h:outputText value="#{_match.rejectDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <h:column>
                <f:facet name="header">Action</f:facet>
                <s:link id="selectmatch"
                     value="Select"
                      view="/Match.xhtml">
                    <f:param name="matchIdMatch"
                            value="#{_match.idMatch}"/>
                    <f:param name="matchFrom" value="Travel"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </h:form>

    <div class="actionButtons">
        <s:button
               value="Add match"
                view="/MatchEdit.xhtml">
            <f:param name="travelIdTravel"
                    value="#{travelHome.instance.idTravel}"/>
            <f:param name="matchFrom" value="Travel"/>
        </s:button>
    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/onetomany.gif" style="vertical-align: middle; padding-right: 4px;"/>Dialogs</h:panelGroup>
        </f:facet>
    <h:form styleClass="association" id="dialogsChildren">

        <h:outputText value="There are no dialogs associated with this travel."
                   rendered="#{empty travelHome.dialogs}"/>

        <rich:dataTable value="#{travelHome.dialogs}"
                       var="_dialog"
                  rendered="#{not empty travelHome.dialogs}"
                rowClasses="rvgRowOne,rvgRowTwo"
                        id="dialogsTable">
            <rich:column sortBy="#{_dialog.idDialog}">
                <f:facet name="header">Id dialog</f:facet>
                <h:outputText value="#{_dialog.idDialog}"/>
            </rich:column>
            <rich:column sortBy="#{_dialog.createDate}">
                <f:facet name="header">Create date</f:facet>
                <h:outputText value="#{_dialog.createDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_dialog.updateDate}">
                <f:facet name="header">Update date</f:facet>
                <h:outputText value="#{_dialog.updateDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_dialog.deleteDate}">
                <f:facet name="header">Delete date</f:facet>
                <h:outputText value="#{_dialog.deleteDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_dialog.lastCommentDate}">
                <f:facet name="header">Last comment date</f:facet>
                <h:outputText value="#{_dialog.lastCommentDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_dialog.ownerSeenDate}">
                <f:facet name="header">Owner seen date</f:facet>
                <h:outputText value="#{_dialog.ownerSeenDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <rich:column sortBy="#{_dialog.otherSeenDate}">
                <f:facet name="header">Other seen date</f:facet>
                <h:outputText value="#{_dialog.otherSeenDate}">
                    <s:convertDateTime type="both" dateStyle="short"/>
                </h:outputText>
            </rich:column>
            <h:column>
                <f:facet name="header">Action</f:facet>
                <s:link id="selectdialog"
                     value="Select"
                      view="/Dialog.xhtml">
                    <f:param name="dialogIdDialog"
                            value="#{_dialog.idDialog}"/>
                    <f:param name="dialogFrom" value="Travel"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </h:form>

    <div class="actionButtons">
        <s:button
               value="Add dialog"
                view="/DialogEdit.xhtml">
            <f:param name="travelIdTravel"
                    value="#{travelHome.instance.idTravel}"/>
            <f:param name="dialogFrom" value="Travel"/>
        </s:button>
    </div>
    </rich:tab>
</rich:tabPanel>
</ui:define>

</ui:composition>
